const gametype_add = async() => {
    let gametype_name = document.querySelector('.gametype_name').value,
        description = document.querySelector('.description').value
    let obj = {
        typename: gametype_name,
        description
    }
    try {
        const response = await ajax('addgametype', 'POST', obj)
        alert('添加成功')
    } catch (error) {
        error.msg
    }
}